import request from '@/utils/request'
import qs from 'qs'

/**
 * bu检视报表接口
 */

export function getBuBusinesscheck(code) {
  return request({
    url: '/api/admin/businessTarget/buBusinesscheck?' + qs.stringify(code),
    method: 'get'
  })
}

// Bu 工务检视现况报表
export function buWorkcheck(code) {
  return request({
    url: '/api/admin/worksTarget/buWorkcheck?' + qs.stringify(code),
    method: 'get'
  })
}

// 导出BU业务现况检视表excel
export function exportBuBusinessCheck(info) {
  return request({
    url: '/api/admin/excel/exportBuBusinessCheck',
    method: 'post',
    responseType: 'blob',
    data: info
  })
}
